package com.ruoyi.purchase.mapper;

import java.util.List;
import com.ruoyi.purchase.domain.PurchaseExecutionItem;

/**
 * 采购订单执行明细Mapper接口
 * 
 * @author ruoyi
 * @date 2025-06-17
 */
public interface PurchaseExecutionItemMapper 
{
    /**
     * 查询采购订单执行明细
     * 
     * @param executionItemId 采购订单执行明细主键
     * @return 采购订单执行明细
     */
    public PurchaseExecutionItem selectPurchaseExecutionItemByExecutionItemId(Long executionItemId);

    /**
     * 查询采购订单执行明细列表
     * 
     * @param purchaseExecutionItem 采购订单执行明细
     * @return 采购订单执行明细集合
     */
    public List<PurchaseExecutionItem> selectPurchaseExecutionItemList(PurchaseExecutionItem purchaseExecutionItem);

    /**
     * 新增采购订单执行明细
     * 
     * @param purchaseExecutionItem 采购订单执行明细
     * @return 结果
     */
    public int insertPurchaseExecutionItem(PurchaseExecutionItem purchaseExecutionItem);

    /**
     * 修改采购订单执行明细
     * 
     * @param purchaseExecutionItem 采购订单执行明细
     * @return 结果
     */
    public int updatePurchaseExecutionItem(PurchaseExecutionItem purchaseExecutionItem);

    /**
     * 删除采购订单执行明细
     * 
     * @param executionItemId 采购订单执行明细主键
     * @return 结果
     */
    public int deletePurchaseExecutionItemByExecutionItemId(Long executionItemId);

    /**
     * 批量删除采购订单执行明细
     * 
     * @param executionItemIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deletePurchaseExecutionItemByExecutionItemIds(String[] executionItemIds);
}
